-- GENERATED SPELL FOR [Winterfin Shorestriker] --


function spell0_25215(pUnit, Event) --@Rushed Assault,Self--
pUnit:FullCastSpellOnTarget(50262,pUnit)
pUnit:RegisterEvent('Sorts_25215', 10288, 1)
end

function Sorts_25215(pUnit, Event)
local choix_sorts_25215 = math.random(0, 0)
if choix_sorts_25215 == 0 then
pUnit:RegisterEvent('spell0_25215', 1, 1)
end
end

function mob25215_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25215', math.random(1500, 3000), 1)
end

function mob25215_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25215_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25215_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25215, 1, 'mob25215_Action')
RegisterUnitEvent(25215, 2, 'mob25215_Leave')
RegisterUnitEvent(25215, 3, 'mob25215_Kill')
RegisterUnitEvent(25215, 4, 'mob25215_Die')
